import java.security.SignatureException;


public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String string = args[0];
		String salida = null;
		try {
			salida = GenerateMac.calculateRFC2104HMAC(string, "seguridad");
		} catch (SignatureException e) {
			e.printStackTrace();
		}
		
		System.out.println("HMAC: " + salida);
	}

}
